home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20020314-20021006 / 000044_fdc@columbia.edu_Thu Apr 25 13:42:11 EDT 2002.msg < prev    next >
Text File  |  2020-01-01  |  2KB  |  46 lines

  1. Article: 13335 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
  3. From: fdc@columbia.edu (Frank da Cruz)
  4. Newsgroups: comp.protocols.kermit.misc
  5. Subject: Re: output command and flow control
  6. Date: 25 Apr 2002 13:41:42 -0400
  7. Organization: Columbia University
  8. Lines: 29
  9. Message-ID: <aa9f4m$fte$1@watsol.cc.columbia.edu>
  10. References: <a228ca9f.0204250831.51991287@posting.google.com>
  11. NNTP-Posting-Host: watsol.cc.columbia.edu
  12. X-Trace: newsmaster.cc.columbia.edu 1019756504 15188 128.59.39.139 (25 Apr 2002 17:41:44 GMT)
  13. X-Complaints-To: postmaster@columbia.edu
  14. NNTP-Posting-Date: 25 Apr 2002 17:41:44 GMT
  15. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13335
  16.  
  17. In article <a228ca9f.0204250831.51991287@posting.google.com>,
  18. ALB <casimir@roar.com> wrote:
  19.  
  20. : What happens when I do an "output" command when the remote modem is not
  21. : able to receive data (its RTS is ON, and intermediate buffers are all
  22. : full)?  (I suppose the flow control is operational on both sides.)
  23. :
  24. It depends on many factors: the computer, the operating system, the type
  25. of modem (internal or external), if external the modem cable, the type
  26. of flow control.
  27.  
  28. If both the modem and Kermit have been configured for RTS/CTS flow
  29. control, and the modem is not asserting CTS, the OUTPUT command will not
  30. return until the modem turns on CTS so the device driver can send the
  31. data.  If CTS is on, the OS will send the data and the OUTPUT command
  32. will return immediately.
  33.  
  34. : Is there a solution to know before performing the output, how many
  35. : bytes can be sent ?
  36. Kermit does not have any feature like this, and most operating systems
  37. don't have it either.  Anyway, it can depend on factors outside the
  38. computer.  CTS from the modem means "it's OK to send".  But the modem
  39. might have a buffer of only 40 bytes.  If you send 60 bytes, either 20 
  40. will be lost, or the modem will turn off CTS after 40.  It depends on
  41. the modem, but Kermit and the computer have no way of knowing what the
  42. modem will do, because it is a separate device.
  43.  
  44. - Frank
  45.